﻿namespace EyeOpen.Cart.Wcf
{
    using System.Collections.Generic;
    using System.ServiceModel;
    using EyeOpen.Cart.Service;
    using System.ServiceModel.Activation;

    [ServiceContract(Namespace = "")]
    public interface IArticleLineService
    {
        [OperationContract]
        float CalculateArticleLineTotal(ArticleLineDto articleLineDto);

        [OperationContract]
        float CalculateArticlesTotal(IEnumerable<ArticleLineDto> collection);

        [OperationContract]
        IList<ArticleLineDto> GetAll();
    }
}